const EntitySchema = require("typeorm").EntitySchema;

module.exports = new EntitySchema({
  name: "SyUser",
  columns: {
    userid: {
      primary: true,
      type: "int",
      generated: true,
    },
    username: {
      type: "varchar",
    },
    userpwd: {
      type: "varchar",
    },
    Co_ID: {
      type: "int",
    },
    avatar: {
      type: "varchar",
    },
  },
});
